<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-incomePro-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目编号：</label>
				<div class="col-sm-8">
					<input id="proSn" name="proSn" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目名称：</label>
				<div class="col-sm-8">
					<input id="proName" name="proName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单编号：</label>
				<div class="col-sm-8">
					<input id="ctrSn" name="ctrSn" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单人员级别：</label>
				<div class="col-sm-8">
					<input id="ctrLevel" name="ctrLevel" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单人月数：</label>
				<div class="col-sm-8">
					<input id="ctrPmons" name="ctrPmons" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单人员单价：</label>
				<div class="col-sm-8">
					<input id="ctrUnp" name="ctrUnp" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单金额：</label>
				<div class="col-sm-8">
					<input id="ctrTotal" name="ctrTotal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">累计到上月人月数：</label>
				<div class="col-sm-8">
					<input id="wlLastPmons" name="wlLastPmons" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">累计到本月人月数：</label>
				<div class="col-sm-8">
					<input id="wlPmons" name="wlPmons" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">累计到上月金额：</label>
				<div class="col-sm-8">
					<input id="wlLastTotal" name="wlLastTotal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">累计到本月金额：</label>
				<div class="col-sm-8">
					<input id="wlTotal" name="wlTotal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">本月上报人月数：</label>
				<div class="col-sm-8">
					<input id="wlCurrPmons" name="wlCurrPmons" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">本月上报金额：</label>
				<div class="col-sm-8">
					<input id="wlCurrTotal" name="wlCurrTotal" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">年月：</label>
				<div class="col-sm-8">
					<input id="wlYm" name="wlYm" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "pm/incomePro"
		$("#form-incomePro-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-incomePro-add').serialize());
	        }
	    }
	</script>
</body>
</html>
